Skip to content

[UX-889] rpk: fill in --format json/yaml support#30194

Merged
graham-rp merged 2 commits intoredpanda-data:devfrom
graham-rp:ai-jam/rpk-format-combined
Apr 24, 2026
Merged

[UX-889] rpk: fill in --format json/yaml support#30194
graham-rp merged 2 commits intoredpanda-data:devfrom
graham-rp:ai-jam/rpk-format-combined

Conversation

@graham-rp
Copy link
Copy Markdown
Contributor

@graham-rp graham-rp commented Apr 16, 2026

Adds --format json|yaml|text|help to 20 rpk commands that previously only supported plain text output.

Pattern

All changes follow the same pattern established by existing commands like rpk redpanda admin brokers list:

  • p.InstallFormatFlag(cmd) to register --format
  • f.Help(...) guard at the top of Run for --format help
  • f.Format(data) for JSON/YAML output; text path unchanged
  • New typed structs with json/yaml tags replacing ad-hoc table printing
  • Testable print* helpers extracted from command Run functions
  • Unit tests covering text, JSON, and YAML output paths

Test results

All commands verified against a live 3-node rpk container cluster. security secret list requires cloud credentials and was unit-tested only.


cluster maintenance status

Setup: Maintenance mode enabled on broker 1.

[
  {"node_id":0,"enabled":false},
  {"node_id":1,"enabled":true,"finished":true,"errors":false,"partitions":11,"eligible":0,"transferring":4,"failed":0},
  {"node_id":2,"enabled":false}
]

cluster config status

[
  {"node":0,"config_version":2,"needs_restart":false,"invalid":[],"unknown":[]},
  {"node":1,"config_version":2,"needs_restart":false,"invalid":[],"unknown":[]},
  {"node":2,"config_version":2,"needs_restart":false,"invalid":[],"unknown":[]}
]

profile list

[
  {"name":"local-console","description":"","current":false},
  {"name":"rpk-cloud","description":"Redpanda Production \"gcs-test/gcs-test\"","current":false},
  {"name":"rpk-container","description":"Automatically generated profile from 'rpk container start'","current":true}
]

The current profile is represented by current: true in JSON/YAML. In text
output, the current profile's NAME column is suffixed with * (matching
cloud auth list).


plugin list --local

Setup: fake .rpk-testplugin installed in ~/.local/bin; two managed plugins already present.

[
  {"name":"byoc","path":"/Users/graham.smith/.local/bin/.rpk.managed-byoc"},
  {"name":"connect","path":"/Users/graham.smith/.local/bin/.rpk.managed-connect"},
  {"name":"testplugin","path":"/Users/graham.smith/.local/bin/.rpk-testplugin"}
]

cluster partitions move-cancel

Setup: raft_learner_recovery_rate throttled to 1000 B/s; all 3 format-addparts partitions (RF=1) moved simultaneously then immediately cancelled.

[
  {"namespace":"kafka","topic":"format-addparts","partition":0,"result":"Success"},
  {"namespace":"kafka","topic":"format-addparts","partition":1,"result":"Success"},
  {"namespace":"kafka","topic":"format-addparts","partition":2,"result":"Success"}
]

redpanda admin brokers decommission-status

Setup: raft_learner_recovery_rate throttled to 1000 B/s; broker 2 decommissioned then status captured immediately. All partitions fail reallocation — 3-node cluster with RF=3 topics leaves no eligible destination node.

{
  "reallocation_failures": [
    {"partition":"kafka/format-test/0","reason":"No eligible node found to move replica"},
    {"partition":"kafka/format-test/1","reason":"No eligible node found to move replica"},
    {"partition":"kafka/format-test/2","reason":"No eligible node found to move replica"},
    {"partition":"kafka/__consumer_offsets/0","reason":"No eligible node found to move replica"},
    {"partition":"kafka/__consumer_offsets/1","reason":"No eligible node found to move replica"},
    {"partition":"kafka/__consumer_offsets/2","reason":"No eligible node found to move replica"},
    {"partition":"kafka/format-seek-topic/0","reason":"No eligible node found to move replica"},
    {"partition":"kafka/format-seek-topic/1","reason":"No eligible node found to move replica"},
    {"partition":"kafka/format-seek-topic/2","reason":"No eligible node found to move replica"},
    {"partition":"kafka_internal/id_allocator/0","reason":"No eligible node found to move replica"}
  ],
  "partitions": []
}

redpanda admin partitions list 0

[
  {"topic":"__consumer_offsets","partition":0,"is_leader":false},
  {"topic":"__consumer_offsets","partition":1,"is_leader":false},
  {"topic":"__consumer_offsets","partition":2,"is_leader":true},
  {"topic":"format-seek-topic","partition":0,"is_leader":true},
  {"topic":"format-seek-topic","partition":1,"is_leader":false},
  {"topic":"format-seek-topic","partition":2,"is_leader":false},
  {"topic":"format-test","partition":0,"is_leader":false},
  {"topic":"format-test","partition":1,"is_leader":true},
  {"topic":"format-test","partition":2,"is_leader":false}
]

cloud auth list

[
  {"name":"...-sso Redpanda Integration","kind":"sso","organization":"Redpanda Integration","organization_id":"a845616f-0484-4506-9638-45fe28f34865"},
  {"name":"...-sso Redpanda Production","kind":"sso","organization":"Redpanda Production","organization_id":"617d637f-4645-4627-8841-c24be02f8817","current":true}
]

cluster partitions balancer-status

{
  "status": "ready",
  "seconds_since_last_tick": 14,
  "current_reassignments_count": 0,
  "partitions_pending_force_recovery_count": 0,
  "broker_replica_distribution": [
    {"node_id":0,"count":11},
    {"node_id":1,"count":10},
    {"node_id":2,"count":11}
  ]
}

cluster logdirs describe

[
  {"broker":0,"dir":"/var/lib/redpanda/data","topic":"format-test","partition":0,"size":465},
  {"broker":0,"dir":"/var/lib/redpanda/data","topic":"format-test","partition":1,"size":155},
  {"broker":0,"dir":"/var/lib/redpanda/data","topic":"format-test","partition":2,"size":423},
  "..."
]

group list

[{"broker":0,"group":"format-group","state":"Stable"}]

cluster partitions move-status

No movements in progress — returns []. Empty-result path verified to route through formatter.


security acl delete

{
  "deletions": [
    {"principal":"User:alice","host":"*","resource_type":"TOPIC","resource_name":"format-test","resource_pattern_type":"LITERAL","operation":"READ","permission":"ALLOW","message":""}
  ]
}

cluster selftest status

Full self-test run (~6 min, disk + network). Three nodes, all "status":"idle" after completion.

[
  {"node_id":2,"status":"idle","stage":"cloud","results":[{"name":"512KB sequential r/w","test_type":"disk","p50":191,"p90":271,"p99":415,"rps":17660,"bps":9258961032},{"name":"8Kb Network Throughput Test","test_type":"network","p50":67,"rps":68925,"bps":564635511},"..."]},
  {"node_id":0,"status":"idle","stage":"cloud","results":["..."]},
  {"node_id":1,"status":"idle","stage":"cloud","results":["..."]}
]

topic delete

[{"topic":"format-delete-me","status":"OK"}]

topic add-partitions

[{"topic":"format-addparts","status":"OK"}]

topic alter-config

[{"topic":"format-test","status":"OK"}]

group seek

Group was active; seek rejected with INVALID_OPERATION for all partitions.

[
  {"topic":"format-seek-topic","partition":0,"prior_offset":-1,"current_offset":0,"error":"INVALID_OPERATION: seeking a non-empty group is not allowed."},
  {"topic":"format-seek-topic","partition":1,"prior_offset":1,"current_offset":0,"error":"INVALID_OPERATION: seeking a non-empty group is not allowed."},
  {"topic":"format-seek-topic","partition":2,"prior_offset":-1,"current_offset":0,"error":"INVALID_OPERATION: seeking a non-empty group is not allowed."}
]

group offset-delete

Group put into Empty state first.

[
  {"topic":"format-seek-topic","partition":0,"status":"OK"},
  {"topic":"format-seek-topic","partition":1,"status":"OK"},
  {"topic":"format-seek-topic","partition":2,"status":"OK"}
]

Release Notes

Improvements

  • Add --format json|yaml|text|help to 20 rpk commands: cluster maintenance status, cluster config status, profile list, plugin list, cluster partitions move-cancel, redpanda admin brokers decommission-status, redpanda admin partitions list, cloud auth list, cluster partitions balancer-status, cluster logdirs describe, security secret list, group list, group delete, cluster partitions move-status, security acl delete, cluster selftest status, topic delete, topic add-partitions, topic alter-config, group seek, group offset-delete

@graham-rp graham-rp self-assigned this Apr 16, 2026
@graham-rp graham-rp changed the title rpk: complete --format json/yaml support (UX-889) [UX-889] rpk: fill in --format json/yaml support Apr 16, 2026
@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch 4 times, most recently from d37fe4a to 6e1dffd Compare April 17, 2026 17:47
@graham-rp graham-rp marked this pull request as ready for review April 17, 2026 20:23
@graham-rp graham-rp requested review from a team, kbatuigas and r-vasquez as code owners April 17, 2026 20:23
@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch 2 times, most recently from 7782ae2 to 1e58bd5 Compare April 20, 2026 15:48
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 20, 2026

Retry command for Build#83403

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 20, 2026

CI test results

test results on build#83403
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83403#019dab9f-b27b-45a8-a450-eb0adac2cfa3 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83403#019dab9f-e441-4ad6-952f-1db2d2fdf96d 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83403#019dab9f-b27f-46a1-9f93-070df85ccba6 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83403#019dab9f-e447-4e41-a344-2e71fa85fbfa 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FLAKY(PASS) WriteCachingFailureInjectionE2ETest test_crash_all {"use_transactions": false} integration https://buildkite.com/redpanda/redpanda/builds/83403#019dab9f-e444-4631-b257-7ba0cb43c2fe 26/31 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0693, p0=0.1512, reject_threshold=0.0100. adj_baseline=0.1939, p1=0.2823, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=WriteCachingFailureInjectionE2ETest&test_method=test_crash_all
test results on build#83408
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83408#019dac19-45d8-4620-b62c-bbfd83e1297c 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83408#019dac1a-5adc-4f04-8ddd-17ae0bcb44e0 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83408#019dac19-45e0-4128-83b7-a2f83bac0e10 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83408#019dac1a-5adf-495d-91af-546c9a4a1197 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
test results on build#83465
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83465#019db07e-c291-43bb-9705-d01352e58c6c 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83465#019db07f-df9d-4dc0-af21-e7a8ec8004c3 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83465#019db07e-c296-410b-8d08-c009eb84b135 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83465#019db07f-dfa2-4fc2-b94a-2c52c2185579 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
test results on build#83493
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83493#019db5d3-b9c8-420c-ba5b-fe8b6a0f4c24 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83493#019db5d4-d33c-42df-83a9-99e88bf06579 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83493#019db5d3-b9ca-4887-ab6d-c7ee1dda6aa7 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83493#019db5d4-d33f-4372-8e98-4d0f541e4e1e 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
test results on build#83505
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83505#019db689-d8c2-44e8-a006-079f97ab194b 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83505#019db68a-37b7-48c9-84ef-93f3edf374dc 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FLAKY(PASS) DatalakeClusterRestoreTest test_restore_partition_spec {"catalog_type": "rest_hadoop", "cloud_storage_type": 1} integration https://buildkite.com/redpanda/redpanda/builds/83505#019db689-d8c9-42a5-991a-54d44f78dd55 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0026, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=DatalakeClusterRestoreTest&test_method=test_restore_partition_spec
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83505#019db689-d8c5-427d-b19a-c4be88c1b499 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83505#019db68a-37b9-4ba4-862c-9e80d674b612 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
test results on build#83508
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83508#019db6cf-2e02-4439-8f1a-a1fdecd0ad7f 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL ConsumerGroupOffsetResetTest test_offset_delete_manual_consumers null integration https://buildkite.com/redpanda/redpanda/builds/83508#019db6cf-4b25-4370-b93a-52fc233ec2ac 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ConsumerGroupOffsetResetTest&test_method=test_offset_delete_manual_consumers
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83508#019db6cf-2e05-4931-bfc4-8449d4792ce7 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
FAIL OffsetDeletionTest test_offset_deletion null integration https://buildkite.com/redpanda/redpanda/builds/83508#019db6cf-4b29-4712-a2cf-8b0eeddd3632 0/11 Test FAILS after retries.Significant increase in flaky rate(baseline=0.0000, p0=0.0000, reject_threshold=0.0100) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=OffsetDeletionTest&test_method=test_offset_deletion
test results on build#83597
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FAIL debug_bundle_service_started_fixture get_file_path_process_failed unit https://buildkite.com/redpanda/redpanda/builds/83597#019dbbbc-e2e2-45db-8be2-cb07e1f63da1 0/1
test results on build#83634
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FLAKY(PASS) ShadowLinkingReplicationTests test_with_restart {"storage_mode": "tiered_cloud"} integration https://buildkite.com/redpanda/redpanda/builds/83634#019dbfb4-b51a-4c23-b29b-8ac0d8c21f1c 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0174, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ShadowLinkingReplicationTests&test_method=test_with_restart
FLAKY(PASS) WriteCachingFailureInjectionE2ETest test_crash_all {"use_transactions": false} integration https://buildkite.com/redpanda/redpanda/builds/83634#019dbfb3-8083-4cfa-a58c-81a5eb059db3 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0922, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.2518, p1=0.0550, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=WriteCachingFailureInjectionE2ETest&test_method=test_crash_all
test results on build#83642
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FLAKY(PASS) ShadowLinkingReplicationTests test_replication_with_failures {"storage_mode": "cloud"} integration https://buildkite.com/redpanda/redpanda/builds/83642#019dc047-5e2a-4d13-ad67-9d0667649162 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0050, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ShadowLinkingReplicationTests&test_method=test_replication_with_failures
FLAKY(PASS) ShadowLinkingReplicationTests test_replication_with_failures {"storage_mode": "tiered_cloud"} integration https://buildkite.com/redpanda/redpanda/builds/83642#019dc047-5e24-4f9b-8102-c0bc81c6a9f3 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0017, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ShadowLinkingReplicationTests&test_method=test_replication_with_failures
test results on build#83648
test_status test_class test_method test_arguments test_kind job_url passed reason test_history
FLAKY(PASS) ShadowLinkingReplicationTests test_replication_with_failures {"storage_mode": "cloud"} integration https://buildkite.com/redpanda/redpanda/builds/83648#019dc0aa-81f8-49c3-b205-3688676313fc 10/11 Test PASSES after retries.No significant increase in flaky rate(baseline=0.0066, p0=1.0000, reject_threshold=0.0100. adj_baseline=0.1000, p1=0.3487, trust_threshold=0.5000) https://redpanda.metabaseapp.com/dashboard/87-tests?tab=142-dt-individual-test-history&test_class=ShadowLinkingReplicationTests&test_method=test_replication_with_failures

@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch from 1e58bd5 to f3ad110 Compare April 20, 2026 18:01
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 20, 2026

Retry command for Build#83408

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

Copy link
Copy Markdown
Contributor

@c-julin c-julin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its a massive PR but its safe to do as we're adding json responses in addition to the current output so functionality isn't impacted. I do think the two things codex picked up on are very good finds and we should address before putting out but very nice qol improvment!

Comment thread src/go/rpk/pkg/cli/cluster/partitions/move_status.go Outdated
Comment thread src/go/rpk/pkg/cli/cluster/logdirs.go
Comment thread src/go/rpk/pkg/cli/cloud/auth/list.go Outdated
Comment thread src/go/rpk/pkg/cli/cloud/auth/list.go Outdated
Comment thread src/go/rpk/pkg/cli/cloud/auth/list.go Outdated
@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch from f3ad110 to 40e70ac Compare April 21, 2026 13:23
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 21, 2026

Retry command for Build#83460

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 21, 2026

Retry command for Build#83465

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch from 0b5b99a to cd80869 Compare April 22, 2026 15:25
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 22, 2026

Retry command for Build#83493

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

c-julin
c-julin previously approved these changes Apr 22, 2026
@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch from cd80869 to f9d0fbb Compare April 22, 2026 18:42
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 22, 2026

Retry command for Build#83505

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch from f9d0fbb to 8be0e4d Compare April 22, 2026 19:56
@vbotbuildovich
Copy link
Copy Markdown
Collaborator

vbotbuildovich commented Apr 22, 2026

Retry command for Build#83508

please wait until all jobs are finished before running the slash command

/ci-repeat 1
skip-redpanda-build
skip-units
skip-rebase
tests/rptest/tests/consumer_group_test.py::ConsumerGroupOffsetResetTest.test_offset_delete_manual_consumers
tests/rptest/tests/offset_retention_test.py::OffsetDeletionTest.test_offset_deletion

@graham-rp
Copy link
Copy Markdown
Contributor Author

/retest

@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch 2 times, most recently from c1a4f0a to 8b9cdd3 Compare April 24, 2026 16:07
@graham-rp graham-rp enabled auto-merge April 24, 2026 16:07
graham-rp and others added 2 commits April 24, 2026 13:56
* cloud auth list
* cluster config status
* cluster logdirs describe
* cluster maintenance status
* cluster partitions balancer-status
* cluster partitions move-cancel
* cluster partitions move-status
* cluster selftest status
* group delete
* group list
* group offset-delete
* group seek
* plugin list
* profile list
* redpanda admin brokers decommission-status
* redpanda admin partitions list
* security acl delete
* security secret list
* topic add-partitions
* topic alter-config
* topic delete
The ducktape integration tests parse `rpk group offset-delete` output
by splitting on whitespace with no expectation of a header line. Adding
a TOPIC/PARTITION/STATUS header broke int() parsing of the partition
field in the Python client.

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@graham-rp graham-rp force-pushed the ai-jam/rpk-format-combined branch from 8b9cdd3 to 9502ab9 Compare April 24, 2026 17:56
@graham-rp graham-rp merged commit 4f7db93 into redpanda-data:dev Apr 24, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants